package com.ruoyi.app.mapper;

import com.ruoyi.app.domain.TravelRoute;
import com.ruoyi.app.domain.TravelRouteExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelRouteMapper {
    int countByExample(TravelRouteExample example);

    int deleteByExample(TravelRouteExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TravelRoute record);

    int insertSelective(TravelRoute record);

    List<TravelRoute> selectByExample(TravelRouteExample example);

    TravelRoute selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TravelRoute record, @Param("example") TravelRouteExample example);

    int updateByExample(@Param("record") TravelRoute record, @Param("example") TravelRouteExample example);

    int updateByPrimaryKeySelective(TravelRoute record);

    int updateByPrimaryKey(TravelRoute record);
}